package reign.engine.messages;

import java.io.Serializable;

import reign.engine.Message;

public class PriorityMessage extends Message implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 4715248898670880483L;
	public enum priorityMessage{
		MESSAGE1,
		MESSAGE2;
	}
	
	private priorityMessage msg;
	private Object data;
	public PriorityMessage(priorityMessage message,Object input)
	{
		msg = message;
		data = input;
	}
	
	public priorityMessage getMsg() {
		return msg;
	}

	public Object getMessage()
	{
		return data;
	}

}
